package com.gimi.cloud.bbp.manage.consumer.feign;

import com.gimi.cloud.bbp.common.utils.reqhead.Response;
import com.gimi.cloud.bbp.dto.prod.EcProdCatModelDTO;
import com.gimi.cloud.bbp.dto.prod.EcProdCatModelValueDTO;
import feign.Headers;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @auther loongs
 * @date 2017/12/20  9:53
 */
@FeignClient(name = "bbp-manage-service")
public interface ProdCatModelFeignService {


    @Headers({"Content-Type: application/json","Accept: application/json"})
    @RequestMapping(value = "prodCatModel/getProdCatModelList", method = RequestMethod.POST)
    Response getProdCatModelList(EcProdCatModelDTO prodCatModelDTO);

    @Headers({"Content-Type: application/json","Accept: application/json"})
    @RequestMapping(value = "prodCatModel/addProdCatModel", method = RequestMethod.POST)
    Response addProdCatModel(EcProdCatModelDTO prodCatModelDTO);

    @Headers({"Content-Type: application/json","Accept: application/json"})
    @RequestMapping(value = "prodCatModel/editProdCatModel", method = RequestMethod.POST)
    Response editProdCatModel(EcProdCatModelDTO prodCatModelDTO);

    @Headers({"Content-Type: application/json","Accept: application/json"})
    @RequestMapping(value = "prodCatModel/gotoEditProdCatModel", method = RequestMethod.POST)
    Response gotoEditProdCatModel(EcProdCatModelDTO prodCatModelDTO);

    @Headers({"Content-Type: application/json","Accept: application/json"})
    @RequestMapping(value = "prodCatModel/deleteProdCatModel", method = RequestMethod.POST)
    Response deleteProdCatModel(EcProdCatModelDTO prodcatmodeldto);

    @Headers({"Content-Type: application/json","Accept: application/json"})
    @RequestMapping(value = "prodCatModel/realDeleteProdCatModel", method = RequestMethod.POST)
    Response realDeleteProdCatModel(EcProdCatModelDTO prodcatmodeldto);

    /******************************************************************************************************************/
    @Headers({"Content-Type: application/json","Accept: application/json"})
    @RequestMapping(value = "prodCatModelValue/getProdCatModelValueList", method = RequestMethod.POST)
    Response getProdCatModelValueList(EcProdCatModelValueDTO prodCatModelValueDTO);

    @Headers({"Content-Type: application/json","Accept: application/json"})
    @RequestMapping(value = "prodCatModelValue/addProdCatModelValue", method = RequestMethod.POST)
    Response addProdCatModelValue(EcProdCatModelValueDTO prodCatModelValueDTO);

    @Headers({"Content-Type: application/json","Accept: application/json"})
    @RequestMapping(value = "prodCatModelValue/gotoEditProdCatModelValue", method = RequestMethod.POST)
    Response gotoEditProdCatModelValue(EcProdCatModelValueDTO prodCatModelValueDTO);

    @Headers({"Content-Type: application/json","Accept: application/json"})
    @RequestMapping(value = "prodCatModelValue/editProdCatModelValue", method = RequestMethod.POST)
    Response editProdCatModelValue(EcProdCatModelValueDTO prodCatModelValueDTO);

    @Headers({"Content-Type: application/json","Accept: application/json"})
    @RequestMapping(value = "prodCatModelValue/realDeleteProdCatModelValue", method = RequestMethod.POST)
    Response realDeleteProdCatModelValue(EcProdCatModelValueDTO prodCatModelValueDTO);
}
